<%@ Page Language="VB" MasterPageFile="~/master pages/AdminMasterPage.master" AutoEventWireup="false"
    CodeFile="frmModifyCity.aspx.vb" Inherits="Admin_frmModifyCity" Title="Untitled Page" %>

<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table class="box" width="100%" align="center" border="0" cellpadding="0" cellspacing="0">
        <tbody>
            <tr>
                <td class="boxheading" width="100%" height="14" align="center">
                    <h2 class="boxtitle">
                        Modify City
                    </h2>
                </td>
            </tr>
        </tbody>
    </table>
    <asp:ScriptManager ID="ScriptManager1" runat="server" />
    <style type="text/css">
        /*Modal Popup*/
        .modalBackground
        {
            background-color: Gray;
            filter: alpha(opacity=70);
            opacity: 0.7;
        }
    </style>
    <table align="center">
        <tr>
            <td>
                &nbsp;</td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                <table align="center" style="border: 1px; border-color: white; border-style: solid;">
                    <tr>
                        <td>
                            &nbsp;</td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" style="height: 24px">
                            <span style="color:Black ;">Country Name:</span></td>
                        <td style="height: 24px">
                            <asp:DropDownList ID="ddlCountry" runat="server" AutoPostBack="True" Width="156px">
                            </asp:DropDownList></td>
                    </tr>
                    <tr>
                        <td align="right">
                           <span style="color:Black ;"> State Name:</span></td>
                        <td>
                            <asp:DropDownList ID="ddlState" runat="server" Width="156px">
                            </asp:DropDownList></td>
                    </tr>
                    <tr>
                        <td align="right">
                            <span style="color:Black ;">City Id:</span></td>
                        <td>
                            <asp:Label ID="lblCityId" runat="server" Text="Label"></asp:Label></td>
                    </tr>
                    <tr>
                        <td align="right">
                            <span style="color:Black ;">City Name:</span>
                        </td>
                        <td>
                            <asp:TextBox ID="txtCityName" runat="server" Width="156px"></asp:TextBox>
                        </td>
                        <td>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="CityName-Cannot Be Blank."
                                ControlToValidate="txtCityName">*</asp:RequiredFieldValidator>
                        </td>
                        <td>
                            <asp:RegularExpressionValidator ID="RegularExpressionValidator2" ValidationExpression="[a-z,A-Z, ]+"
                                ControlToValidate="txtCityName" runat="server" ErrorMessage="CityName-Only Characters Allowed">*</asp:RegularExpressionValidator>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            &nbsp;</td>
                        <td>
                        </td>
                    </tr>
                    <tr align="center">
                        <td colspan="8" align="center">
                            <asp:Button ID="btnSubmit" runat="server" Text="Submit" />
                            <asp:Button ID="btnReset" runat="server" Text="Reset"  CausesValidation="false"/>
                           <%-- <cc1:ConfirmButtonExtender TargetControlID="btnSubmit" ID="confBtnDelete" runat="server"
                                DisplayModalPopupID="ModalPopupExtender1">
                            </cc1:ConfirmButtonExtender>
                            <cc1:ModalPopupExtender ID="ModalPopupExtender1" runat="server" TargetControlID="btnSubmit"
                                PopupControlID="PNL" OkControlID="ButtonOk" CancelControlID="ButtonCancel" BackgroundCssClass="modalBackground" />
                            <asp:Panel ID="PNL" runat="server" Style="display: none; width: 200px; background-color: White;
                                border-width: 2px; border-color: Black; border-style: solid; padding: 20px;">
                                Are you sure you want to modify the record?
                                <br />
                                <br />
                                <div style="text-align: right;">
                                    <asp:Button ID="ButtonOk" runat="server" Text="OK" />
                                    <asp:Button ID="ButtonCancel" runat="server" Text="Cancel" />
                                </div>
                            </asp:Panel>--%>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td align="center">
                <asp:ValidationSummary ID="ValidationSummary1" runat="server" />
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
            </td>
        </tr>
    </table>
</asp:Content>
